﻿using Microsoft.Xna.Framework;

namespace GameName1
{
    abstract class Weapon
    {
        public WeaponState WeaponState { protected get; set; }
        public double ReloadTime { get; set; }

        protected int _shootingDirection;

        protected Weapon(int shootingDirection)
        {
            _shootingDirection = shootingDirection;
        }

        public abstract void Fire<T>(Vector2 spawnPoint) where T : Projectile;
    }
}
